# Define here the models for your scraped items
#
# See documentation in:
# http://doc.scrapy.org/en/latest/topics/items.html

from scrapy.item import Item, Field

class PostItem(Item):
    post_title = Field()
    post_content = Field()
    post_type=Field()
    post_author=Field()
    post_status=Field()
    post_brief=Field()
    comment_count=Field()
    praise_count=Field()
    hate_count=Field()
    collect_count=Field()
    share_count=Field()
    post_category_id=Field()
    post_category_name=Field()
    post_origin_url=Field()
    post_origin_sitename=Field()
    post_uuid=Field()
    post_insert_time=Field()
    post_show_time=Field()
    post_update_time=Field()
    post_font_images=Field()
    post_vedio_url=Field()
    post_tags=Field()
    top_order=Field()


class ImageItem(Item):
    image_origin_url=Field()
    image_origin_available=Field()
    use_origin_url=Field()
    image_bitmap=Field()
    image_size=Field()
    image_width=Field()
    image_height=Field()
    image_title=Field()
    image_mime_type=Field()
    image_update_time=Field()
    image_final_url=Field()


class CommentItem(Item):
    comment_content=Field()
    comment_time=Field()
    comment_status=Field()
    comment_floor=Field()
    post_id=Field()
    user_id=Field()
    user_ip=Field()
    user_name=Field()
    user_image=Field()
